package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.entity.DailyCount;
import java.util.Date;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 方案栏目每日统计 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface DailyCountMapper extends BaseDao<DailyCount> {

    DailyCount queryDailyCountToDay(@Param("solutionId") Long solutionId, @Param("dataType") Integer dataType,
            @Param("countDate") Date countDate);

    void addDailyCount(@Param("solutionId") Long solutionId, @Param("dataType") Integer dataType,
            @Param("countDate") Date countDate);
}